<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>网站设置</title>
	<hdjs />
	<js file= '__PUBLIC__/js/mod.base.js' />
	<css file= '__PUBLIC__/css/mod.base.css' />
	<js file= '__PUBLIC__/js/mod.config.js' />
</head>
<body>
<div class="hd-menu-list">
	<ul>
		<li >
			<a href="{:U('Config/index')}">网站配置</a>
		</li>
		<li class="active">
			<a href="javascript:;">添加配置</a>
		</li>
		<li>
			<a href="{:U('Config/update_cache')}">更新缓存</a>
		</li>
	</ul>
</div>

<div class="hd-title-header">添加配置</div>

<form name="form" class="hd-form" action='' method="post" enctype='multipart/form-data'>
	<table class='hd-table hd-table-form hd-form'>
					
		<tbody>
			
				<tr>
					<th class='hd-w100'>
					标题
					<span class="star">*</span>
					</th>
					<td><input type="text" name='title' class='hd-w200'/></td>
				</tr>
				<tr>
					<th>变量
					<span class="star">*</span>
					</th>
					<td><input type="text" name='code' class='hd-w200'/></td>
				</tr>
				<tr>
					<th>
					排序
					<span class="star">*</span>
					</th>
					<td><input type="text" name='sort' class='hd-w200' value="100" /></td>
				</tr>
				<tr>
					<th>分组</th>
					<td>
						<select name="group" >
							<option value="基本设置">基本设置</option>
							<option value="更多设置">更多设置</option>
						</select>
					</td>
				</tr>

				<tr>
					<th>类型</th>
					<td>
						<label><input name='config_type' type="radio"  value="1" /> 图片上传框</label>&nbsp;
						<label><input name='config_type' type="radio"  value="4" /> 文件上传框</label>&nbsp;
						<label><input name='config_type' type="radio"  value="2"  checked="checked" /> 单行文本</label>&nbsp;
						<label><input name='config_type' type="radio"  value="3" /> 多行文本</label>&nbsp;
						<label><input name='config_type' type="radio"  value="5" /> 单选按钮</label>&nbsp;
					</td>

				</tr>
				<tr>
					<th>配置值</th>
					<td>
						<textarea name="body" class='hd-w500 hd-h100'></textarea>
					</td>
				</tr>
				
		</tbody>
	</table>
<input type="submit" value="添加" class="hd-btn-xm hd-btn" />
</form>

</body>
</html>